package cn.edu.njuit.lesson9heros.aspect;

import cn.edu.njuit.lesson9heros.aspect.LogService;
import com.alibaba.fastjson.JSON;
import org.springframework.stereotype.Service;

@Service
public class LogServiceImpl implements LogService {
    @Override
    public void doLog(Class c, String methodName, Object[] args) {
        System.out.printf("[%s]:[%s]正在被执行，参数为:%s",c.getName(),methodName, JSON.toJSONString(args));
    }
}
